package top.yaofengqiao.springcloudsimple.demo.biz.trigger.http.app.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author yfq
 * @date 2024/6/14 11:39
 * @description
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateOrderDTO {
    // 商品id
    @NotNull(message = "商品ID不能为空")
    private String productId;

}
